<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: aruntime/src/main/java/nars/language/Variable.java Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d2/de0/Variable_8java_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Variable.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../d2/de0/Variable_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Variable.java</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2008  Pei Wang</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This file is part of Open-NARS.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Open-NARS is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * the Free Software Foundation, either version 2 of the License, or</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * Open-NARS is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * along with Open-NARS.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">package </span>nars.language;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">import</span> java.util.*;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/d64/namespacenars_1_1io.html">io</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable.html">   30</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../de/da5/classnars_1_1language_1_1Variable.html">Variable</a> <span class="keyword">extends</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> {</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a084a030f6fdad3d1274ee3ede04b9087.html#a084a030f6fdad3d1274ee3ede04b9087">   36</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a084a030f6fdad3d1274ee3ede04b9087.html#a084a030f6fdad3d1274ee3ede04b9087">Variable</a>(String s) {</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        super(s);</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    }</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    @Override</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a30a7ac4cf858c2d12542da7dd743ef2e.html#a30a7ac4cf858c2d12542da7dd743ef2e">   45</a></span>&#160;    <span class="keyword">public</span> Object <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a30a7ac4cf858c2d12542da7dd743ef2e.html#a30a7ac4cf858c2d12542da7dd743ef2e">clone</a>() {</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a084a030f6fdad3d1274ee3ede04b9087.html#a084a030f6fdad3d1274ee3ede04b9087">Variable</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a059f44677d4580c0eef198dfba957b6b.html#a059f44677d4580c0eef198dfba957b6b">name</a>);</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    }</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a453637a49d162fd4bb44725ff7b5965b.html#a453637a49d162fd4bb44725ff7b5965b">   53</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">char</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a453637a49d162fd4bb44725ff7b5965b.html#a453637a49d162fd4bb44725ff7b5965b">getType</a>() {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a059f44677d4580c0eef198dfba957b6b.html#a059f44677d4580c0eef198dfba957b6b">name</a>.charAt(0);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    }</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    @Override</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a08bed48ca544c9611bccbf1e638c85aa.html#a08bed48ca544c9611bccbf1e638c85aa">   62</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a08bed48ca544c9611bccbf1e638c85aa.html#a08bed48ca544c9611bccbf1e638c85aa">isConstant</a>() {</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a9caa9f23d798ce1913cfca744ddd1c15.html#a9caa9f23d798ce1913cfca744ddd1c15">   71</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a9caa9f23d798ce1913cfca744ddd1c15.html#a9caa9f23d798ce1913cfca744ddd1c15">containVarIndep</a>(String n) {</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="keywordflow">return</span> n.indexOf(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a60c92a89535a54f54a72e20a5969536d.html#a60c92a89535a54f54a72e20a5969536d">VAR_INDEPENDENT</a>) &gt;= 0;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    }</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a3a7ee29b5a23255edf3dbca5f85f7b44.html#a3a7ee29b5a23255edf3dbca5f85f7b44">   80</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a3a7ee29b5a23255edf3dbca5f85f7b44.html#a3a7ee29b5a23255edf3dbca5f85f7b44">containVarDep</a>(String n) {</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="keywordflow">return</span> n.indexOf(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a3c9984ce55deb7819945871ce1fa3a82.html#a3c9984ce55deb7819945871ce1fa3a82">VAR_DEPENDENT</a>) &gt;= 0;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    }</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a25dcc4d5882131d679903f93d41420c9.html#a25dcc4d5882131d679903f93d41420c9">   89</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a25dcc4d5882131d679903f93d41420c9.html#a25dcc4d5882131d679903f93d41420c9">containVarQuery</a>(String n) {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="keywordflow">return</span> n.indexOf(<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a9ff625a6eaec1b710eaec490ee8fc549.html#a9ff625a6eaec1b710eaec490ee8fc549">VAR_QUERY</a>) &gt;= 0;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    }</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a2c36e85a56295a27aba7a4ee162f5850.html#a2c36e85a56295a27aba7a4ee162f5850">   98</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a2c36e85a56295a27aba7a4ee162f5850.html#a2c36e85a56295a27aba7a4ee162f5850">containVar</a>(String n) {</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a9caa9f23d798ce1913cfca744ddd1c15.html#a9caa9f23d798ce1913cfca744ddd1c15">containVarIndep</a>(n) || <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a3a7ee29b5a23255edf3dbca5f85f7b44.html#a3a7ee29b5a23255edf3dbca5f85f7b44">containVarDep</a>(n) || <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a25dcc4d5882131d679903f93d41420c9.html#a25dcc4d5882131d679903f93d41420c9">containVarQuery</a>(n);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    }</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a2770bbc76b3aac48f49a1c15aaedab1b.html#a2770bbc76b3aac48f49a1c15aaedab1b">  109</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a2770bbc76b3aac48f49a1c15aaedab1b.html#a2770bbc76b3aac48f49a1c15aaedab1b">unify</a>(<span class="keywordtype">char</span> type, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t1, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t2) {</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a2770bbc76b3aac48f49a1c15aaedab1b.html#a2770bbc76b3aac48f49a1c15aaedab1b">unify</a>(type, t1, t2, t1, t2);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    }</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_ac9e7d556f8e12c9bba657b9d2083bc36.html#ac9e7d556f8e12c9bba657b9d2083bc36">  122</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_ac9e7d556f8e12c9bba657b9d2083bc36.html#ac9e7d556f8e12c9bba657b9d2083bc36">unify</a>(<span class="keywordtype">char</span> type, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t1, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t2, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> compound1, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> compound2) {</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;        HashMap&lt;Term, Term&gt; map1 = <span class="keyword">new</span> HashMap&lt;Term, Term&gt;();</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        HashMap&lt;Term, Term&gt; map2 = <span class="keyword">new</span> HashMap&lt;Term, Term&gt;();</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keywordtype">boolean</span> hasSubs = <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a997e50c6a8ea7057483f057bc703a4f0.html#a997e50c6a8ea7057483f057bc703a4f0">findSubstitute</a>(type, t1, t2, map1, map2); <span class="comment">// find substitution</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keywordflow">if</span> (hasSubs) {</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;            <span class="keywordflow">if</span> (!map1.isEmpty()) {</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                ((<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">CompoundTerm</a>) compound1).applySubstitute(map1);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;            }</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;            <span class="keywordflow">if</span> (!map2.isEmpty()) {</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;                ((<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">CompoundTerm</a>) compound2).applySubstitute(map2);</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            }</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;        }</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <span class="keywordflow">return</span> hasSubs;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    }</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a997e50c6a8ea7057483f057bc703a4f0.html#a997e50c6a8ea7057483f057bc703a4f0">  145</a></span>&#160;    <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a997e50c6a8ea7057483f057bc703a4f0.html#a997e50c6a8ea7057483f057bc703a4f0">findSubstitute</a>(<span class="keywordtype">char</span> type, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> term1, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> term2,</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            HashMap&lt;Term, Term&gt; map1, HashMap&lt;Term, Term&gt; map2) {</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;        <span class="keywordflow">if</span> ((term1 instanceof <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable.html">Variable</a>) &amp;&amp; ((Variable) term1).<a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a453637a49d162fd4bb44725ff7b5965b.html#a453637a49d162fd4bb44725ff7b5965b">getType</a>() == type) {</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;            t = map1.get((Variable) term1);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;            <span class="keywordflow">if</span> (t != null) {</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;                <span class="keywordflow">return</span> t.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">equals</a>(term2);</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                map1.put((Variable) term1, term2);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;            }</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        }</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <span class="keywordflow">if</span> ((term2 instanceof Variable) &amp;&amp; ((Variable) term2).<a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a453637a49d162fd4bb44725ff7b5965b.html#a453637a49d162fd4bb44725ff7b5965b">getType</a>() == type) {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;            t = map2.get((Variable) term2);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;            <span class="keywordflow">if</span> (t != null) {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;                <span class="keywordflow">return</span> t.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">equals</a>(term1);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;                map2.put((Variable) term2, term1);</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;            }</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        }</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;        <span class="keywordflow">if</span> ((term1 instanceof <a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">CompoundTerm</a>) &amp;&amp; term1.getClass().<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">equals</a>(term2.getClass())) {</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;            CompoundTerm cTerm1 = (CompoundTerm) term1;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;            CompoundTerm cTerm2 = (CompoundTerm) term2;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            <span class="keywordflow">if</span> (cTerm1.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ac81c5851f664320ddec435641f198b03.html#ac81c5851f664320ddec435641f198b03">size</a>() != (cTerm2).size()) {</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;                <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;            }</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; cTerm1.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ac81c5851f664320ddec435641f198b03.html#ac81c5851f664320ddec435641f198b03">size</a>(); i++) {</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;                <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t1 = cTerm1.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">componentAt</a>(i);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;                <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> t2 = cTerm2.<a class="code" href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">componentAt</a>(i);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;                <span class="keywordtype">boolean</span> haveSub = <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a997e50c6a8ea7057483f057bc703a4f0.html#a997e50c6a8ea7057483f057bc703a4f0">findSubstitute</a>(type, t1, t2, map1, map2);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;                <span class="keywordflow">if</span> (!haveSub) {</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;                    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;                }</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;            }</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        }</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="keywordflow">if</span> (!(term1 instanceof Variable) &amp;&amp; !(term2 instanceof Variable) &amp;&amp; term1.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">equals</a>(term2)) {<span class="comment">// for constant, also shortcut for variable and compound</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        }</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    }</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="../../de/da5/classnars_1_1language_1_1Variable_a27d52c132400491e698146c554cd89ac.html#a27d52c132400491e698146c554cd89ac">  195</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a27d52c132400491e698146c554cd89ac.html#a27d52c132400491e698146c554cd89ac">hasSubstitute</a>(<span class="keywordtype">char</span> type, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> term1, <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> term2) {</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../de/da5/classnars_1_1language_1_1Variable_a997e50c6a8ea7057483f057bc703a4f0.html#a997e50c6a8ea7057483f057bc703a4f0">findSubstitute</a>(type, term1, term2, <span class="keyword">new</span> HashMap&lt;Term, Term&gt;(), <span class="keyword">new</span> HashMap&lt;Term, Term&gt;());</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    }</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;}</div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a453637a49d162fd4bb44725ff7b5965b_html_a453637a49d162fd4bb44725ff7b5965b"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a453637a49d162fd4bb44725ff7b5965b.html#a453637a49d162fd4bb44725ff7b5965b">nars.language.Variable.getType</a></div><div class="ttdeci">char getType()</div><div class="ttdoc">Get the type of the variable. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00053">Variable.java:53</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_ac9e7d556f8e12c9bba657b9d2083bc36_html_ac9e7d556f8e12c9bba657b9d2083bc36"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_ac9e7d556f8e12c9bba657b9d2083bc36.html#ac9e7d556f8e12c9bba657b9d2083bc36">nars.language.Variable.unify</a></div><div class="ttdeci">static boolean unify(char type, Term t1, Term t2, Term compound1, Term compound2)</div><div class="ttdoc">To unify two terms. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00122">Variable.java:122</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a9caa9f23d798ce1913cfca744ddd1c15_html_a9caa9f23d798ce1913cfca744ddd1c15"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a9caa9f23d798ce1913cfca744ddd1c15.html#a9caa9f23d798ce1913cfca744ddd1c15">nars.language.Variable.containVarIndep</a></div><div class="ttdeci">static boolean containVarIndep(String n)</div><div class="ttdoc">Check whether a string represent a name of a term that contains an independent variable. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00071">Variable.java:71</a></div></div>
<div class="ttc" id="namespacenars_1_1io_html"><div class="ttname"><a href="../../db/d64/namespacenars_1_1io.html">nars.io</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d26/ExperienceReader_8java_source.html#l00021">ExperienceReader.java:21</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a997e50c6a8ea7057483f057bc703a4f0_html_a997e50c6a8ea7057483f057bc703a4f0"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a997e50c6a8ea7057483f057bc703a4f0.html#a997e50c6a8ea7057483f057bc703a4f0">nars.language.Variable.findSubstitute</a></div><div class="ttdeci">static boolean findSubstitute(char type, Term term1, Term term2, HashMap&lt; Term, Term &gt; map1, HashMap&lt; Term, Term &gt; map2)</div><div class="ttdoc">To recursively find a substitution that can unify two Terms without changing them. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00145">Variable.java:145</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a30a7ac4cf858c2d12542da7dd743ef2e_html_a30a7ac4cf858c2d12542da7dd743ef2e"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a30a7ac4cf858c2d12542da7dd743ef2e.html#a30a7ac4cf858c2d12542da7dd743ef2e">nars.language.Variable.clone</a></div><div class="ttdeci">Object clone()</div><div class="ttdoc">Clone a Variable. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00045">Variable.java:45</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_html"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols.html">nars.io.Symbols</a></div><div class="ttdoc">The ASCII symbols used in I/O. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00026">Symbols.java:26</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a08bed48ca544c9611bccbf1e638c85aa_html_a08bed48ca544c9611bccbf1e638c85aa"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a08bed48ca544c9611bccbf1e638c85aa.html#a08bed48ca544c9611bccbf1e638c85aa">nars.language.Variable.isConstant</a></div><div class="ttdeci">boolean isConstant()</div><div class="ttdoc">A variable is not constant. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00062">Variable.java:62</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a059f44677d4580c0eef198dfba957b6b_html_a059f44677d4580c0eef198dfba957b6b"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a059f44677d4580c0eef198dfba957b6b.html#a059f44677d4580c0eef198dfba957b6b">nars.language.Term.name</a></div><div class="ttdeci">String name</div><div class="ttdoc">A Term is identified uniquely by its name, a sequence of characters in a given alphabet (ASCII or Uni...</div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00046">Term.java:46</a></div></div>
<div class="ttc" id="namespacenars_html"><div class="ttname"><a href="../../d7/d81/namespacenars.html">nars</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a3c9984ce55deb7819945871ce1fa3a82_html_a3c9984ce55deb7819945871ce1fa3a82"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a3c9984ce55deb7819945871ce1fa3a82.html#a3c9984ce55deb7819945871ce1fa3a82">nars.io.Symbols.VAR_DEPENDENT</a></div><div class="ttdeci">static final char VAR_DEPENDENT</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00034">Symbols.java:34</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f_html_ad85f45a7858737445d5158801774ff5f"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_ad85f45a7858737445d5158801774ff5f.html#ad85f45a7858737445d5158801774ff5f">nars.language.Term.equals</a></div><div class="ttdeci">boolean equals(Object that)</div><div class="ttdoc">Equal terms have identical name, though not necessarily the same reference. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00094">Term.java:94</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a9ff625a6eaec1b710eaec490ee8fc549_html_a9ff625a6eaec1b710eaec490ee8fc549"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a9ff625a6eaec1b710eaec490ee8fc549.html#a9ff625a6eaec1b710eaec490ee8fc549">nars.io.Symbols.VAR_QUERY</a></div><div class="ttdeci">static final char VAR_QUERY</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00035">Symbols.java:35</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a2770bbc76b3aac48f49a1c15aaedab1b_html_a2770bbc76b3aac48f49a1c15aaedab1b"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a2770bbc76b3aac48f49a1c15aaedab1b.html#a2770bbc76b3aac48f49a1c15aaedab1b">nars.language.Variable.unify</a></div><div class="ttdeci">static boolean unify(char type, Term t1, Term t2)</div><div class="ttdoc">To unify two terms. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00109">Variable.java:109</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a2c36e85a56295a27aba7a4ee162f5850_html_a2c36e85a56295a27aba7a4ee162f5850"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a2c36e85a56295a27aba7a4ee162f5850.html#a2c36e85a56295a27aba7a4ee162f5850">nars.language.Variable.containVar</a></div><div class="ttdeci">static boolean containVar(String n)</div><div class="ttdoc">Check whether a string represent a name of a term that contains a variable. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00098">Variable.java:98</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_ac81c5851f664320ddec435641f198b03_html_ac81c5851f664320ddec435641f198b03"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_ac81c5851f664320ddec435641f198b03.html#ac81c5851f664320ddec435641f198b03">nars.language.CompoundTerm.size</a></div><div class="ttdeci">int size()</div><div class="ttdoc">get the number of components </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00347">CompoundTerm.java:347</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a27d52c132400491e698146c554cd89ac_html_a27d52c132400491e698146c554cd89ac"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a27d52c132400491e698146c554cd89ac.html#a27d52c132400491e698146c554cd89ac">nars.language.Variable.hasSubstitute</a></div><div class="ttdeci">static boolean hasSubstitute(char type, Term term1, Term term2)</div><div class="ttdoc">Check if two terms can be unified. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00195">Variable.java:195</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a084a030f6fdad3d1274ee3ede04b9087_html_a084a030f6fdad3d1274ee3ede04b9087"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a084a030f6fdad3d1274ee3ede04b9087.html#a084a030f6fdad3d1274ee3ede04b9087">nars.language.Variable.Variable</a></div><div class="ttdeci">Variable(String s)</div><div class="ttdoc">Constructor, from a given variable name. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00036">Variable.java:36</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_html"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term.html">nars.language.Term</a></div><div class="ttdoc">Term is the basic component of Narsese, and the object of processing in NARS. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00040">Term.java:40</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a60c92a89535a54f54a72e20a5969536d_html_a60c92a89535a54f54a72e20a5969536d"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a60c92a89535a54f54a72e20a5969536d.html#a60c92a89535a54f54a72e20a5969536d">nars.io.Symbols.VAR_INDEPENDENT</a></div><div class="ttdeci">static final char VAR_INDEPENDENT</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00033">Symbols.java:33</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a25dcc4d5882131d679903f93d41420c9_html_a25dcc4d5882131d679903f93d41420c9"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a25dcc4d5882131d679903f93d41420c9.html#a25dcc4d5882131d679903f93d41420c9">nars.language.Variable.containVarQuery</a></div><div class="ttdeci">static boolean containVarQuery(String n)</div><div class="ttdoc">Check whether a string represent a name of a term that contains a query variable. ...</div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00089">Variable.java:89</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840_html_acedae916705e9fa1669391a7d728b840"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm_acedae916705e9fa1669391a7d728b840.html#acedae916705e9fa1669391a7d728b840">nars.language.CompoundTerm.componentAt</a></div><div class="ttdeci">Term componentAt(int i)</div><div class="ttdoc">get a component by index </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00356">CompoundTerm.java:356</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_a3a7ee29b5a23255edf3dbca5f85f7b44_html_a3a7ee29b5a23255edf3dbca5f85f7b44"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable_a3a7ee29b5a23255edf3dbca5f85f7b44.html#a3a7ee29b5a23255edf3dbca5f85f7b44">nars.language.Variable.containVarDep</a></div><div class="ttdeci">static boolean containVarDep(String n)</div><div class="ttdoc">Check whether a string represent a name of a term that contains a dependent variable. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00080">Variable.java:80</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1CompoundTerm_html"><div class="ttname"><a href="../../d0/dee/classnars_1_1language_1_1CompoundTerm.html">nars.language.CompoundTerm</a></div><div class="ttdoc">A CompoundTerm is a Term with internal (syntactic) structure. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00036">CompoundTerm.java:36</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Variable_html"><div class="ttname"><a href="../../de/da5/classnars_1_1language_1_1Variable.html">nars.language.Variable</a></div><div class="ttdoc">A variable term, which does not correspond to a concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../d2/de0/Variable_8java_source.html#l00030">Variable.java:30</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_ed82ebcd34e530b246c6fd9032262140.html">aruntime</a></li><li class="navelem"><a class="el" href="../../dir_19496ddff8e6c0f2b6654287ecb1a472.html">src</a></li><li class="navelem"><a class="el" href="../../dir_db9c5934f797909f7296c2c2017f7fc9.html">main</a></li><li class="navelem"><a class="el" href="../../dir_6d74390eb6d6287951075e525bcb9bed.html">java</a></li><li class="navelem"><a class="el" href="../../dir_51a24984472456d47100350cd31f9a7c.html">nars</a></li><li class="navelem"><a class="el" href="../../dir_b4d9c5ced2c21fe4bf332c675d1d2c5f.html">language</a></li><li class="navelem"><a class="el" href="../../d2/de0/Variable_8java.html">Variable.java</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:58 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
